package org.dromara.wx.mapper;

import org.dromara.wx.domain.WxUserRole;
import org.dromara.wx.domain.bo.WxUserRoleBo;
import org.dromara.wx.domain.query.WxUserRoleQuery;
import org.dromara.wx.domain.vo.WxUserRoleVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 用户和角色关联Mapper接口
 *
 * @author yf
 * @date 2024-06-05
 */
public interface WxUserRoleMapper extends BaseMapperPlus<WxUserRole, WxUserRoleVo> {

    /**
     * 查询用户和角色关联列表
     *
     * @param query 查询对象
     * @return {@link WxUserRoleVo}
     */
    List<WxUserRoleVo> queryList(WxUserRoleQuery query);
}
